package me.shurufa;

import android.app.Application;

import me.shurufa.utils.Global;

/**
 * 单例Application
 *
 * @FileName: me.shurufa.MainApplication.java
 * @author: kHRYSTAL
 * @email: 723526676@qq.com
 * @date: 2016-01-14 12:30
 */
public class MainApplication extends Application {

  private static MainApplication sInstance;

  public static MainApplication getInstance() {
    return sInstance;
  }

  @Override
  public void onCreate() {
    super.onCreate();
    sInstance = this;
    Global.DEBUG = true;
  }
}
